FROM openjdk:11-jdk
LABEL maintainer="信息中心运维组 <wubo2@itcast.cn>"

ENV TZ=Asia/Shanghai 
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

WORKDIR /app
ADD ./target/*.jar /app/activiti-platform.jar

EXPOSE 8080
CMD ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "activiti-platform.jar"]